﻿using System;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.ServiceModel;

namespace BiffenModel
{
    [DataContract]
    public class Movie
    {
        #region Attributes
        [DataMember]
        private int id;
        [DataMember]
        private string title;
        [DataMember]
        private string description;
        [DataMember]
        private string genre;
        [DataMember]
        private string timeLength;
        [DataMember]
        private bool active;
        [DataMember]
        private List<String> artistname;
        [DataMember]
        private string picture;
        [DataMember]
        private string director;
        
        #endregion

        #region Constructors
        public Movie()
        {
        }

        public Movie(int id,string title, string description, string genre, string timeLength, string director, string picture)
        {
            this.id = id;
            this.title = title;
            this.description = description;
            this.genre = genre;
            this.timeLength = timeLength;
            this.director = director;
            this.picture = picture;
        }
        #endregion

        #region Get and Set Methods
        
        [DataMember]
        public string Director
        { 
            get { return director; }
            set { director = value; }
        }
        
        
        [DataMember]
        public string Picture
        { 
            get { return picture; } 
            set { picture = value; } 
        }
        [DataMember]
        public List<String> ArtistName 
        {
            get { return artistname; }
            set { artistname = value; }
        }
   
        [DataMember]
        public bool SetActive
        {
            get { return active; }
            set { active = value; }
        }

        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        [DataMember]
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        

        [DataMember]
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        [DataMember]
        public string Genre
        {
            get { return genre; }
            set { genre = value; }
        }
        [DataMember]
        public string TimeLength
        {
            get { return timeLength; }
            set { timeLength = value; }
        }
        #endregion
    }
}
